package org.zhu.consumer.mobile.service;

import org.springframework.stereotype.Component;
import org.zhu.common.bean.Category;

import java.util.List;

/**
 * @author yingzhi zhu
 * date 2018/2/26.
 */
@Component
public class CategoryServiceHystrix implements CategoryService{
    @Override
    public int insertCategory(String name, String parentPid, String categoryDesc) {
        System.out.println("添加数据失败");
        return 0;
    }

    @Override
    public List<Category> findAll() {
        return null;
    }
}
